<template>
  <div class="list-item">
      <div class="list-item_title">{{title}}</div>
      <div class="list-item_label">{{label}}</div>
  </div>
</template>

<script>
export default {
    props: ['title', 'label'],
}
</script>

<style lang="scss" scoped>
.list-item {
    display: flex;
    justify-content: space-between;
    padding:16px 0;
    border-bottom: 1px solid #EDEDF1;
    &_title {
        @include textoverflow;
        flex: 1;
        width: 0;
        font-size: 14px;
        color: #666666;
    }
    &_label {
        width: 80px;
        font-size: 12px;
        color: #999999;
    }
}
</style>